/**
* chartOptions for HighCharts
* copyright@Catosoft.com reserved, 2016
* 2016.06.20, created by Eric.Wang
*/

var chartTitles = {
	enterGroupColumn: '入组情况统计-柱状图',
	enterGroupPie: '入组情况统计-饼图',
	enterGroupStatsLine: '入组情况整体-折线图',
	enterGroupStatsColumn: '入组情况整体-柱状图',
	dataInputColumn: '数据录入情况-柱状图',
	dataInputPie: '数据录入情况-饼图',
	dataCheckColumn: '数据核查情况-柱状图',
	dataCheckPie: '数据核查情况-饼图',
	dataLockColumn: '数据锁定情况-柱状图',
	dataLockPie: '数据锁定情况-饼图',
	doctorAuditColumn: '医学审核情况-柱状图',
	doctorAuditPie: '医学审核情况-饼图',
	questionSourceColumn: '问题来源情况-柱状图',
	questionStatusColumn: '问题解答情况-柱状图',
	questionDistributeColumn: '问题分布情况-柱状图',
	labSpecChart: '实验室指标-散点图',
};

var colors = [[
	'#4F81BD', '#C0504D', '#9BBB59', '#8064A2'
], ];

// chart export buttons
var buttons = {
	'separator': {
		separator: true,
	},
	'print': {
		text: '打印图表',
		onclick: function(){
			this.print();
		}
	},
	'toPNG': {
		text: '导出到 PNG',
		onclick: function(){
			this.exportChart();
		}
	},
	'toJPEG': {
		text: '导出到 JPEG',
		onclick: function(){
			this.exportChart({
				type: 'image/jpeg'
			});
		}
	},
	'toPDF': {
		text: '导出到 PDF',
		onclick: function(){
			this.exportChart({
				type: 'application/pdf'
			});
		}
	}
};

// credits info
var credits = {
	text: '© Catosoft',
	href: 'http://www.catosoft.com',
};